Skip to content

Correctly update the video orientation after the permission prompt appeared#166

Open
ralfebert wants to merge 1 commit intotwostraws:mainfrom
ralfebert:main
Open

Correctly update the video orientation after the permission prompt appeared#166
ralfebert wants to merge 1 commit intotwostraws:mainfrom
ralfebert:main

Conversation

@ralfebert
Copy link
Contributor

  • When the permission prompt appears, updateOrientation was called before the AV connection was established and the orientation was not updated afterwards when the connection is available
  • Update previewLayer.connection instead of captureSession?.connections.last
  • Remove implicit forced unwrap for previewLayer property

…peared

- When the permission prompt appears, updateOrientation was called before the AV connection was established and not updated afterwards
- Update previewLayer.connection instead of captureSession?.connections.last
- Remove implicit forced unwrap for previewLayer property
@rswave
Copy link

rswave commented Oct 10, 2025

@ralfebert what does the user see before this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants